package cfdt.ldl.trade.api.feign;

import cfdt.common.vo.ObjectBaseResponse;
import cfdt.ldl.trade.api.feign.fallback.TradeFallBack;
import cfdt.ldl.trade.api.request.AddLawyerTradeRequest;
import cfdt.ldl.trade.api.request.GetLawyerInfoListTradeRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 
 * 交易中心
 *
 * <pre>
 * Modify Information:
 * Author       Date          Description
 * ============ ============= ============================
 * wangxiao      2021年8月16日上午9:37:03      黑名单检查Feign
 *
 * </pre>
 */
@FeignClient(value = "ldl-trade", fallbackFactory = TradeFallBack.class, path = "ldl-trade")
public interface TradeFeign {

    @GetMapping("/getLawyerInfoList")
    ObjectBaseResponse getLawyerInfoList(@RequestBody GetLawyerInfoListTradeRequest request);


    @GetMapping("/addLawyer")
    ObjectBaseResponse addLawyer(@RequestBody AddLawyerTradeRequest request);
}
